package com.gdx.game;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.gdx.game.resource.ResourceManager;
import com.gdx.game.screen.base.MenuScreen;

public class MyGame extends Game {

	public static final int V_WIDTH = 200;
	public static final int V_HEIGHT = 120;
	public static final int V_SCALE = 4;

	public SpriteBatch batch;

	public MenuScreen menuScreen;

	public ResourceManager rm;

	@Override
	public void create () {
		batch = new SpriteBatch();
		rm = new ResourceManager();

		menuScreen = new MenuScreen(this, rm);

		this.setScreen(menuScreen);
	}

	@Override
	public void render () {
		super.render();
	}
	
	@Override
	public void dispose () {
		batch.dispose();
		super.dispose();
		menuScreen.dispose();
	}
}
